<?php
function smarty_function_filesize($params, &$smarty){
	$filename .= ROOT.'./result/database/'.$params['filename'];
	if($filename && file_exists($filename)){
	return filesize($filename).'kb';
	}
}
?>